package com.aisile.admin.service;

import com.aisile.model.admin.dtos.ChannelDto;
import com.aisile.model.admin.pojos.AdChannel;
import com.aisile.model.common.dtos.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface AdChannelService extends IService<AdChannel> {

    //分页查询
    public ResponseResult findByPage(ChannelDto dto);

    //添加
    public ResponseResult saveAdchannel(AdChannel adChannel);

    //修改
    public ResponseResult updateAdchannel(AdChannel adChannel);

    //批量删除
    public ResponseResult delsAdchannel(List<Integer> ids);
}
